<!--- 
LICENSE INFORMATION:

Copyright 2007, Hem Talreja
 
Licensed under the Apache License, Version 2.0 (the "License"); you may not 
use this file except in compliance with the License. 

You may obtain a copy of the License at 

	http://www.apache.org/licenses/LICENSE-2.0 
	
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
CONDITIONS OF ANY KIND, either express or implied. See the License for the 
specific language governing permissions and limitations under the License.

VERSION INFORMATION:	(0.001)

 --->
<cfcomponent output="false" displayname="Helper Bean" hint="This component has the default getters and setters for all database manipulation objects">

	<cfset Variables._dbProperties = "" />
	<cffunction name="setDBProperties" access="public" returntype="void" output="false">
		<cfargument name="dbProperties" type="any" required="true" />	
		<cfset Variables._dbProperties = Arguments.dbProperties />
	</cffunction>
	<cffunction name="getDBProperties" access="public" returntype="any" output="false">
		<cfreturn Variables._dbProperties />
	</cffunction>

	<cfset Variables._dbMetaRetreiver = "" />
	<cffunction name="setDBMetaRetreiver" access="public" returntype="void" output="false">
		<cfargument name="dbMetaRetreiver" type="any" required="true" />
		<cfset Variables._dbMetaRetreiver = Arguments.dbMetaRetreiver />
	</cffunction>
		<cffunction name="getDBMetaRetreiver" access="public" returntype="any" output="false">
		<cfreturn Variables._dbMetaRetreiver />
	</cffunction>

	<cfset Variables._dbMetaLoader = "" />
	<cffunction name="setDBMetaLoader" access="public" returntype="void" output="false">
		<cfargument name="dbMetaLoader" type="any" required="true" />
		<cfset Variables._dbMetaLoader = Arguments.dbMetaLoader />
	</cffunction>
		<cffunction name="getDBMetaLoader" access="public" returntype="any" output="false">
		<cfreturn Variables._dbMetaLoader />
	</cffunction>

	<cfset Variables._dbDataTypes = "" />
	<cffunction name="setDBDataTypes" access="public" returntype="void" output="false">
		<cfargument name="dbDataTypes" type="any" required="true" />
		<cfset Variables._dbDataTypes = Arguments.dbDataTypes />
	</cffunction>
	<cffunction name="getDBDataTypes" access="public" returntype="any" output="false">
		<cfreturn Variables._dbDataTypes />
	</cffunction>

	<cfset Variables._dbWriter = "" />
	<cffunction name="setDBWriter" access="public" returntype="void" output="false">
		<cfargument name="dbWriter" type="dbWriter" required="true" />
		<cfset Variables._dbWriter = Arguments.dbWriter />
	</cffunction>
	<cffunction name="getDBWriter" access="public" returntype="dbWriter" output="false">
		<cfreturn Variables._dbWriter />
	</cffunction>
	
	<cfset Variables._dbReader = "" />
	<cffunction name="setDBReader" access="public" returntype="void" output="false">
		<cfargument name="dbReader" type="dbReader" required="true" />
		<cfset Variables._dbReader = Arguments.dbReader />
	</cffunction>
	<cffunction name="getDBReader" access="public" returntype="dbReader" output="false">
		<cfreturn Variables._dbReader />
	</cffunction>

</cfcomponent>